<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of PouzivatelSkolaType
 *
 * @author Jozef Kováč
 */
namespace Acme\MainBundle\Form;

use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;

class PouzivatelSkolaType extends AbstractType {
    
    public function buildForm(FormBuilderInterface $builder, array $options) {
        $builder->add('skola','text', array (
                      'label'=>'Škola*',
                      'max_length'=>'5',
                      'error_bubbling'=>true,
                     ));
        parent::buildForm($builder, $options);
    }
    
    public function getName() {
        return 'pouzivatelSkola';
    }
}

?>
